package com.yzy.mall.constants

import com.yzy.baselibrary.BuildConfig

interface ApiConstants {
    //请求地址相关
    interface Address {
        companion object {
            internal const val FORCE_RELEASE = false //是否强制使用正式服
            private const val HTTP = "http://"
            private const val HTTPS = "https://"
            private const val DEV = "39.98.142.76:8080/blacklist/"//测试服地址
            private const val REL = ""//正式服地址
            private const val WWW = ""//外部访问地址
            private const val AGREEMENT = "agreement"//协议下统一拼接路径

            //            val BASE_URL = "https://www.wanandroid.com/"
//            val GANK_URL = "https://gank.io/"
            val BASE_URL = if (BuildConfig.DEBUG) {
                HTTP + DEV
            } else {
                HTTP + DEV
            }
        }
    }
}